/*
 * CustomerBO.java 
 *
 * Created on February 19, 2007, 10:31 PM
 *
 * This class defines the Customer Business Object
 */

package edu.byu.isys413.jjenkins.data;

/**
 *
 * @author Jeff
 *
 ** This class defines the Customer Business Object
 */
public class CustomerBO extends BusinessObject{
    
    private String firstName = "";
    private String lastName = "" ;
    private String phone = "";
    private String email = "";
    private String address = "";
    private String city = "" ;
    private String state = "";
    private String zip = "";
    private MemberBO member = null;
    
    /** Creates a new instance of CustomerBO */
    public CustomerBO() {
    }
    
    /* returns the customer's first name
     *@return: Sring: firstName*/
    public String getFirstName() {
        return firstName;
    }
    
    /* sets the customer's first name
     * @par: String: firstName*/
    public void setFirstName(String firstName) {
        this.firstName = firstName;
        setDirty(true);
    }
    
    /* returns the customer's last name
     *@return: Sring: lastName*/
    
    public String getLastName() {
        return lastName;
    }
    
    /* sets the customer's last name
     * @par: String: Lastname*/
    
    public void setLastName(String lastName) {
        this.lastName = lastName;
        setDirty(true);
    }
    
    /* returns the customer's phone number
     *@return: Sring: phone*/
    public String getPhone() {
        return phone;
    }
    
    /* sets the customer's phone
     * @par: String: phone*/
    public void setPhone(String phone) {
        this.phone = phone;
        setDirty(true);
    }
    
    /* returns the customer's email
     *@return: Sring: email*/
    public String getEmail() {
        return email;
    }
    /* sets the customer's email
     * @par: String: email*/
    public void setEmail(String email) {
        this.email = email;
        setDirty(true);
    }
    
    /* returns the customer's address
     *@return: Sring: address*/
    public String getAddress() {
        return address;
    }
    
    /* sets the customer's address
     * @par: String: address*/
    public void setAddress(String address) {
        this.address = address;
        setDirty(true);
    }
    
    /* returns the customer's member object
     *@return: MembershipBO: member*/
    public MemberBO getMember() {
        return member;
    }
    
    /* sets the customer's city
     * @par: MemberBO: member*/
    public void setMember(MemberBO member) {
        this.member = member;
        setDirty(true);
    }
    
    
    /* sets the customer's member
     * @par: String: member*/
    public String getCity() {
        return city;
    }
    
    /* sets the customer's member
     * @par: String: member*/
    public void setCity(String city) {
        this.city = city;
        setDirty(true);
    }
    
    
   /* sets the customer's state
    * @par: String: member*/
    public String getState() {
        return state;
    }
    
    /* sets the customer's state
     * @par: String: member*/
    public void setState(String state) {
        this.state = state;
        setDirty(true);
    }
    
    
  /* sets the customer's zip
   * @par: String: zip*/
    public String getZip() {
        return zip;
    }
    
    /* sets the customer's zip
     * @par: String: zip*/
    public void setZip(String zip) {
        this.zip = zip;
        setDirty(true);
    }
}

